package cn.jf.modules.system.mapper;

import cn.jf.modules.system.entity.SysUserAgent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 用户代理人设置
 * @Author: jeecg-boot
 * @Date:  2019-04-17
 * @Version: V1.0
 */
public interface SysUserAgentMapper extends BaseMapper<SysUserAgent> {
    List<SysUserAgent> getPageList(IPage<SysUserAgent> page, @Param("sysUserAgent") SysUserAgent sysUserAgent);
    List<SysUserAgent> getList(@Param("sysUserAgent") SysUserAgent sysUserAgent);
    SysUserAgent getOneByUserName(@Param("userName") String userName);
}
